*{ This template lists all requests in an request list, the result may vary based on mode }*

<div class="requests">
#{list items:_requests, as:'request'}

	<div class="request">
		<a href="@{Requests.viewRequest(request.id)}"> <h3 class="title">${request.title}</h3> </a>
		<div class="content">
			${request.content}
		</div>
	</div>

#{/list}
#{else} 
#{if _mode == 'search' }<br /> no Request was found that matches your search criteria #{/if}
#{if _mode == 'normal' } There are no Requests to display #{/if}
#{/else}
</div>